<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>元素显示类型-盒子模型</title>
    <style>
        /* div{
            width: 200px;
            height: 200px;
            border: 1px solid red;
            background: yellow;
            padding: 20px;
            margin-top: 30px;
        } */
        span{
            width: 200px;
            height: 200px;
            background: yellow;
            padding: 20px;
        }
    </style>
</head>
<body>
    <!-- <div>333333333333333</div> -->

    <!-- 行内元素 padding  左右边距生效  上下边距不生效-->
    <span>2222222222</span>

    <div>cccccccccccc</div>
</body>
</html>